Optimal. Leaf size=149 \[ \frac {16}{55} x \sqrt {-1-x^3}-\frac {2}{11} x^4 \sqrt {-1-x^3}+\frac {32 \sqrt {2-\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1-\sqrt {3}+x\right )^2}} F\left (\sin ^{-1}\left (\frac {1+\sqrt {3}+x}{1-\sqrt {3}+x}\right )|-7+4 \sqrt {3}\right )}{55 \sqrt [4]{3} \sqrt {-\frac {1+x}{\left (1-\sqrt {3}+x\right )^2}} \sqrt {-1-x^3}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 149, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {327, 225}
\begin {gather*} \frac {32 \sqrt {2-\sqrt {3}} (x+1) \sqrt {\frac {x^2-x+1}{\left (x-\sqrt {3}+1\right )^2}} F\left (\text {ArcSin}\left (\frac {x+\sqrt {3}+1}{x-\sqrt {3}+1}\right )|-7+4 \sqrt {3}\right )}{55 \sqrt [4]{3} \sqrt {-\frac {x+1}{\left (x-\sqrt {3}+1\right )^2}} \sqrt {-x^3-1}}+\frac {16}{55} \sqrt {-x^3-1} x-\frac {2}{11} \sqrt {-x^3-1} x^4 \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 225
Rule 327
Rubi steps
\begin {align*} \int \frac {x^6}{\sqrt {-1-x^3}} \, dx &=-\frac {2}{11} x^4 \sqrt {-1-x^3}-\frac {8}{11} \int \frac {x^3}{\sqrt {-1-x^3}} \, dx\\ &=\frac {16}{55} x \sqrt {-1-x^3}-\frac {2}{11} x^4 \sqrt {-1-x^3}+\frac {16}{55} \int \frac {1}{\sqrt {-1-x^3}} \, dx\\ &=\frac {16}{55} x \sqrt {-1-x^3}-\frac {2}{11} x^4 \sqrt {-1-x^3}+\frac {32 \sqrt {2-\sqrt {3}} (1+x) \sqrt {\frac {1-x+x^2}{\left (1-\sqrt {3}+x\right )^2}} F\left (\sin ^{-1}\left (\frac {1+\sqrt {3}+x}{1-\sqrt {3}+x}\right )|-7+4 \sqrt {3}\right )}{55 \sqrt [4]{3} \sqrt {-\frac {1+x}{\left (1-\sqrt {3}+x\right )^2}} \sqrt {-1-x^3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 4 in
optimal.
time = 10.03, size = 54, normalized size = 0.36 \begin {gather*} \frac {2 x \left (-8-3 x^3+5 x^6+8 \sqrt {1+x^3} \, _2F_1\left (\frac {1}{3},\frac {1}{2};\frac {4}{3};-x^3\right )\right )}{55 \sqrt {-1-x^3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.16, size = 134, normalized size = 0.90
method | result | size |
meijerg | \(-\frac {i x^{7} \hypergeom \left (\left [\frac {1}{2}, \frac {7}{3}\right ], \left [\frac {10}{3}\right ], -x^{3}\right )}{7}\) | \(18\) |
risch | \(\frac {2 x \left (5 x^{3}-8\right ) \left (x^{3}+1\right )}{55 \sqrt {-x^{3}-1}}-\frac {32 i \sqrt {3}\, \sqrt {i \left (x -\frac {1}{2}-\frac {i \sqrt {3}}{2}\right ) \sqrt {3}}\, \sqrt {\frac {x +1}{\frac {3}{2}+\frac {i \sqrt {3}}{2}}}\, \sqrt {-i \left (x -\frac {1}{2}+\frac {i \sqrt {3}}{2}\right ) \sqrt {3}}\, \EllipticF \left (\frac {\sqrt {3}\, \sqrt {i \left (x -\frac {1}{2}-\frac {i \sqrt {3}}{2}\right ) \sqrt {3}}}{3}, \sqrt {\frac {i \sqrt {3}}{\frac {3}{2}+\frac {i \sqrt {3}}{2}}}\right )}{165 \sqrt {-x^{3}-1}}\) | \(132\) |
default | \(-\frac {2 x^{4} \sqrt {-x^{3}-1}}{11}+\frac {16 x \sqrt {-x^{3}-1}}{55}-\frac {32 i \sqrt {3}\, \sqrt {i \left (x -\frac {1}{2}-\frac {i \sqrt {3}}{2}\right ) \sqrt {3}}\, \sqrt {\frac {x +1}{\frac {3}{2}+\frac {i \sqrt {3}}{2}}}\, \sqrt {-i \left (x -\frac {1}{2}+\frac {i \sqrt {3}}{2}\right ) \sqrt {3}}\, \EllipticF \left (\frac {\sqrt {3}\, \sqrt {i \left (x -\frac {1}{2}-\frac {i \sqrt {3}}{2}\right ) \sqrt {3}}}{3}, \sqrt {\frac {i \sqrt {3}}{\frac {3}{2}+\frac {i \sqrt {3}}{2}}}\right )}{165 \sqrt {-x^{3}-1}}\) | \(134\) |
elliptic | \(-\frac {2 x^{4} \sqrt {-x^{3}-1}}{11}+\frac {16 x \sqrt {-x^{3}-1}}{55}-\frac {32 i \sqrt {3}\, \sqrt {i \left (x -\frac {1}{2}-\frac {i \sqrt {3}}{2}\right ) \sqrt {3}}\, \sqrt {\frac {x +1}{\frac {3}{2}+\frac {i \sqrt {3}}{2}}}\, \sqrt {-i \left (x -\frac {1}{2}+\frac {i \sqrt {3}}{2}\right ) \sqrt {3}}\, \EllipticF \left (\frac {\sqrt {3}\, \sqrt {i \left (x -\frac {1}{2}-\frac {i \sqrt {3}}{2}\right ) \sqrt {3}}}{3}, \sqrt {\frac {i \sqrt {3}}{\frac {3}{2}+\frac {i \sqrt {3}}{2}}}\right )}{165 \sqrt {-x^{3}-1}}\) | \(134\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.07, size = 20, normalized size = 0.13 \begin {gather*} -\frac {2}{55} \, {\left (5 \, x^{4} - 8 \, x\right )} \sqrt {-x^{3} - 1} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.37, size = 32, normalized size = 0.21 \begin {gather*} - \frac {i x^{7} \Gamma \left (\frac {7}{3}\right ) {{}_{2}F_{1}\left (\begin {matrix} \frac {1}{2}, \frac {7}{3} \\ \frac {10}{3} \end {matrix}\middle | {x^{3} e^{i \pi }} \right )}}{3 \Gamma \left (\frac {10}{3}\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.04, size = 199, normalized size = 1.34 \begin {gather*} \frac {16\,x\,\sqrt {-x^3-1}}{55}-\frac {2\,x^4\,\sqrt {-x^3-1}}{11}+\frac {32\,\left (\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\sqrt {x^3+1}\,\sqrt {\frac {x-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}{-\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}}\,\sqrt {\frac {x+1}{\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}}\,\sqrt {\frac {\frac {1}{2}-x+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}{\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}}\,\mathrm {F}\left (\mathrm {asin}\left (\sqrt {\frac {x+1}{\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}}\right )\middle |-\frac {\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}{-\frac {3}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}}\right )}{55\,\sqrt {-x^3-1}\,\sqrt {x^3+\left (-\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )-1\right )\,x-\left (-\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )\,\left (\frac {1}{2}+\frac {\sqrt {3}\,1{}\mathrm {i}}{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________